package  
{
	import flash.display.MovieClip;
	import flash.display.Stage;
	import flash.events.Event;
	
	/**
	 * @author Humberto Anjos
	 */
	public class Enemy extends MovieClip
	{
		private var _speed = 5
		private var _state:String
		
		public function Enemy(state:String, x:int, y:int) 
		{
			_state = state
			
			this.x = x
			this.y = y
			
			gotoAndStop(state)
		}
		
		public function update():void {
			this.y += _speed
		}
		
		public function get state():String { return _state }
		public function get speed():String { return _speed }
	}

}